package com.by.wx.dao;

import java.sql.Timestamp;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.by.common.vo.PhoneRoomResult;
import com.by.wx.entity.PhoneMember;
import com.by.wx.entity.SysEquipmentOperate;
import com.by.wx.entity.SysRoomEquipment;
import com.by.wx.entity.SysRoomMemberResult;

public interface WxinDao {

	List<PhoneMember> findPrivilegeByOpenidVerifyToSkipHref(String openid);

	List<PhoneRoomResult> findCheckRoomLineById(Integer vipId);

	int updatePhoCodeByOpenid(@Param("coded") String coded,
			@Param("lastCodeTime") Timestamp lastCodeTime,@Param("openid") String openid);

	int deletePhoMemberCodedByOpenid(String openid);

	List<PhoneRoomResult> findCheckRoomLineByPhone(String phone);


	List<SysEquipmentOperate> findOperationByEquipmentId(Integer did);
	int updateSessionTimeSignByOpenid(@Param("timestamp") Timestamp timestamp, @Param("sign") String sign, 
			@Param("openid") String openid);



}
